package com.kingyun.gpsinspection.purificationservice.facade.service.jsm.datareport;

import com.alibaba.fastjson.JSONObject;
import com.kingyun.gpsinspection.purificationservice.facade.model.jsm.Employee;
import com.kingyun.gpsinspection.purificationservice.facade.model.jsm.RepItem;

import java.util.List;
import java.util.Map;

/**
 * Created by huangxueqian on 2017/2/17/017.
 * 报表数据项服务接口类
 */
public interface JsmRepItemService {
    /**
     * @param repItem
     * @return
     * @throws Exception
     */
    public Map<String,Object> addRepItem(RepItem repItem, Employee employee) throws Exception ;

    /**
     *
     * @param repItem
     * @return
     * @throws Exception
     */
    public Map<String,Object> delRepItem(List<String> repItem) throws Exception ;

    /**
     *
     * @param repItem
     * @return
     * @throws Exception
     */
    public RepItem queryRepItem(RepItem repItem) throws Exception ;

    /**
     * @param repItem
     * @return
     * @throws Exception
     */
    public JSONObject table(RepItem repItem) throws Exception;

}
